package io.renren.modules.lanling.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.lanling.dao.InvoiceSubjectNameDao;
import io.renren.modules.lanling.entity.InvoiceSubjectNameEntity;
import io.renren.modules.lanling.service.InvoiceSubjectNameService;


@Service("invoiceSubjectNameService")
public class InvoiceSubjectNameServiceImpl extends ServiceImpl<InvoiceSubjectNameDao, InvoiceSubjectNameEntity> implements InvoiceSubjectNameService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<InvoiceSubjectNameEntity> page = this.selectPage(
                new Query<InvoiceSubjectNameEntity>(params).getPage(),
                new EntityWrapper<InvoiceSubjectNameEntity>()
        );

        return new PageUtils(page);
    }

}
